using System.Collections;
using UnityEngine;

public class EOTD_SupplyCloset_FountainTargetParticle : MonoBehaviour
{
	private SpriteRenderer thisRenderer;

	[SerializeField]
	private Sprite GlowSprite;

	private void Awake()
	{
		thisRenderer = ((Component)this).GetComponent<SpriteRenderer>();
		((MonoBehaviour)this).StartCoroutine(LifeSpan());
	}

	private IEnumerator LifeSpan()
	{
		yield return (object)new WaitForSeconds(0.08f);
		thisRenderer.sprite = GlowSprite;
		Object.Destroy((Object)(object)((Component)this).gameObject, 0.08f);
	}
}
